<div class="cusform">
    <div class="info">
        <? $this->load->view('profile/left_menu') ?>
        <div class="info_r">
            <div class="sub_info">Đơn hàng</div>
            <div class="cart">
            	<? 
					$i=0;
					$cart = get_ses_cart() ;
					if(!empty($cart))
					{
				?>
            	<div class="c_hd">
                	<div class="c_no">No.</div>
                    <div class="c_date">Date</div>
                    <div class="c_pro">Tên sản phẩm</div>
                    <div class="c_num">Số lượng</div>
                    <div class="c_price">Giá</div>
                </div>
                <?
						foreach ($cart as $rs) : 
							$i++; //trit($rs) ;
				?>
                <div class="c_bd">
                	<div class="c_no"><?=$i?></div>
                    <div class="c_date"><?=$rs['pro_img']? '<img src="'.base_url().'uploads/products/40/'.$rs['pro_img'].'" >':''?></div>
                    <div class="c_pro"><?=$rs['pro_name']?></div>
                    <div class="c_num"><?=$rs['nb_order']?></div>
                    <div class="c_price"><?=pricevn($rs['pro_price'])?></div>
                </div>
                <? 
						endforeach ;
					echo '<div class="c_btn">
							<div class="continue"></div>
								<div class="order"><a href="'.site_url('profile/sendcart').'"><img src="'.base_url().'templates/images/mn_26.png" width="100"></a></div>
						</div>';	
				}
				else
				{
				?>
                <div class="c_btn">Không có sản phẫm nào trong giỏ hàng</div>
                <? }?>
            </div>
        </div>
    </div>
</div>
